

let names = Object.getOwnPropertyNames( Promise );
console.log( names );

console.log('- '.repeat(20));

names = Object.getOwnPropertyNames( Promise.prototype );
console.log( names );